﻿CREATE TABLE [dbo].[PlatformAccount] (
    [Id]                  INT            IDENTITY (1, 1) NOT NULL,
    [PlatformAccountName] NVARCHAR (200) NOT NULL,
    [PlatformLoginName]   NVARCHAR (200) NOT NULL,
    [Email]               NVARCHAR (255) NULL,
    [Password]            NVARCHAR (50)  NOT NULL,
    [Enabled]             BIT            DEFAULT ((0)) NOT NULL,
    [FailedLoginCount]    SMALLINT       DEFAULT ((0)) NOT NULL,
    PRIMARY KEY CLUSTERED ([Id] ASC)
);

